﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HomeCareLibrary.Core.Dtos;

namespace HomeCareLibrary.Core.JsonObjects
{
    public class Idea
    {
        public string ideaCode { get; set; }

        public string displayIconCode { get; set; }

        public string ideaTitle { get; set; }

        public string ideaContent { get; set; }

        public int ideaPriority { get; set; }

        public int ideaType { get; set; }

        public string ideaBenefitContent { get; set; }

        public int ideaEnergySavingsScore { get; set; }

        public string ideaEnergySavingsContent { get; set; }

        public int ideaCostScore { get; set; }

        public string ideaCostContent { get; set; }

        public string ideaMoreInfoLink { get; set; }

        public int ideaKnowledgeLevel { get; set; }

        public string ideaScore { get; set; }

        public string TGMS { get; set; }

        public string benefitsStr { get; set; }

        public string ideaExcludedFeatures { get; set; }

        public Idea()
        {
        }

        public Idea(CTIdeaDto dto)
        {
            ideaCode = dto.idea_code;
            displayIconCode = dto.display_icon_code;
            ideaTitle = dto.idea_title;
            ideaContent = dto.idea_content;
            ideaPriority = dto.idea_priority;
            ideaType = dto.idea_type;
            ideaBenefitContent = dto.idea_benefit_content;
            ideaEnergySavingsScore = dto.idea_energy_savings_score;
            ideaEnergySavingsContent = dto.idea_energy_savings_content;
            ideaCostScore = dto.idea_cost_score;
            ideaCostContent = dto.idea_cost_content;
            ideaMoreInfoLink = dto.idea_more_info_link;
            ideaKnowledgeLevel = dto.idea_knowledge_level;
            ideaScore = dto.idea_score;
            TGMS = dto.TGMS;
            benefitsStr = dto.benefits_str;
            ideaExcludedFeatures = dto.idea_excluded_features;
        }
    }
}
